// const IP = 'http://192.168.241.149:8085/'  //测试


const IP = 'https://demo.jsruiyin.com/yungui/'  

// const IP = 'https://bjxsq.jsruiyin.com/yungui/';

// const Url = 'bjxsq.jsruiyin.com'

const URL = 'demo.jsruiyin.com'

const HTTP = {

    getOpenId: `${IP}client/wechat/getOpenId`, //获取openid

    bind: `${IP}client/employee/bind`,  //绑定银行经理的微信OpenId

    unbind: `${IP}client/employee/unbind`,  //解绑银行经理的微信OpenId

    all: `${IP}client/yungui/main/all`,  //获取首页所有数据

    getNews: `${IP}client/yungui/news`,

    update: `${IP}client/workBench/update`, // 提交工作台

    product: `${IP}client/yungui/selectedProduct`, //获取精选产品列表

    searchForm: `${IP}client/product/searchForm`,

    submit: `${IP}client/order/submit`,

    findOrder: `${IP}client/order/findOrder`,  //查询订单

    findOrderDetail: `${IP}client/order/findOrderDetail`,  //查询订单详情

    findUserExist: `${IP}client/employee/findUserExist`,  ///查询头像 姓名等信息

    confirmOrder: `${IP}client/order/confirmOrder`,  //经理确认订单

    //    getAccessToken:`${IP}/client/wechat/getAccessToken`, //获取token
    getWechatInfo: `${IP}client/wechat/getWechatInfo`,

    userData: `${IP}client/yungui/userData`,  //用户数据

    getShareInfo: `${IP}client/wechat/getShareInfo`,

    loginOut:`${IP}client/employee/unbind`, 

    updateSort:`${IP}client/activity/updateSort`,  //热门活动排序 


}

export default {
    HTTP,
    URL,
}

